import axios from 'axios';

let vm = {
	net_fetlist(username, password) {
		return get('/home_list');
	},
}

function post(path, data) {
	return axios.post(baseURL + path, data).then(res => {
		return res.data;
	});
}

function get(path) {
	return axios.get(baseURL + path).then(res => {
		return res.data;
	});
}

export default vm;